<#assign className = table.className >
package ${packageNamePrefix}.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @name: ${table.remarks} Domain
 * @author: ${author}
 * @date: ${createTime}
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ${className} implements Serializable {

    <#list table.columns as column>
    /**
     *  ${column.columnAlias!}
     */
<#if column.pk>
    @Id
    @GeneratedValue(generator = "JDBC") //自增长
</#if>
    private ${column.simpleJavaType} ${column.columnNameFirstLower};
    </#list>

}